import path = require('path');
import express = require('express');
import expressWs = require('express-ws');
import GameServer from './GameServer';

const app = express()
app.use(express.static(path.join(__dirname, '../public')));

/** 启动游戏服务器 */
new GameServer(expressWs(app))

app.listen(8848);
